package com.imstlife.vending.vo;

/**
 * Created by Feng on 2017/3/23.
 */

public class DeviceLoginResponse {


    /**
     * msg : 登录成功
     * data : {"devModel":"marv_vending_02","drinklistInterfaceAdr":"http://101.200.229.53/VendingServer/getDrinkList.do","notifyUrl":"222222"}
     * status : 0
     */
    private String msg;
    private DataEntity data;
    private int status;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public int getStatus() {
        return status;
    }

    public class DataEntity {
        /**
         * devModel : marv_vending_02
         * drinklistInterfaceAdr : http://101.200.229.53/VendingServer/getDrinkList.do
         * notifyUrl : 222222
         */
        private String devModel;
        private String drinklistInterfaceAdr;
        private String notifyUrl;
        private String syncUrl;


        public String getSyncUrl() {
            return syncUrl;
        }

        public void setSyncUrl(String syncUrl) {
            this.syncUrl = syncUrl;
        }

        public void setDevModel(String devModel) {
            this.devModel = devModel;
        }

        public void setDrinklistInterfaceAdr(String drinklistInterfaceAdr) {
            this.drinklistInterfaceAdr = drinklistInterfaceAdr;
        }

        public void setNotifyUrl(String notifyUrl) {
            this.notifyUrl = notifyUrl;
        }

        public String getDevModel() {
            return devModel;
        }

        public String getDrinklistInterfaceAdr() {
            return drinklistInterfaceAdr;
        }

        public String getNotifyUrl() {
            return notifyUrl;
        }

        @Override
        public String toString() {
            return "DataEntity{" +
                    "devModel='" + devModel + '\'' +
                    ", drinklistInterfaceAdr='" + drinklistInterfaceAdr + '\'' +
                    ", notifyUrl='" + notifyUrl + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "DeviceLoginResponse{" +
                "msg='" + msg + '\'' +
                ", data=" + data +
                ", status=" + status +
                '}';
    }
}
